﻿using System;
using GC_VKMD.BusinessEntities.Abstractions.Interfaces.Vkontakte;
using GC_VKMD.BusinessEntities.Enums.Vkontakte;

namespace GC_VKMD.BusinessEntities.Vkontakte
{
	public class ReportMessage : IReportMessage
	{
		#region Constructors

		public ReportMessage(string message, DateTime dateCreated, ReportMessageType type)
		{
			Message = message;
			DateCreated = dateCreated;
			Type = type;
		}

		public ReportMessage(string message, DateTime dateCreated)
			: this(message, dateCreated, ReportMessageType.Info) { }

		public ReportMessage(string message, ReportMessageType type)
			: this(message, DateTime.Now, type) { }

		public ReportMessage(string message)
			: this(message, DateTime.Now, ReportMessageType.Info) { }

		#endregion

		#region IReportMessage Members

		public string Message { get; private set; }

		public DateTime DateCreated { get; private set; }

		public ReportMessageType Type { get; private set; }

		#endregion
	}
}
